home *** CD-ROM | disk | FTP | other *** search
- calc x = {-10,10,0.1}
- calc y = Gauss(x)+0.1*sin(10*x)
- calc y "Original function 2 smooth ->" "x ->"
- calc w = 0.3
- rem this is real-space smooth:
- calc smooth(y,w) "Real-space smoothed y ->" "x ->"
- @if errorlevel 1 goto fin
- rem the following is going to be a FFT-smoothing
- rem should be much faster:
- @pause
- calc Smooth(y,w) "FFT-smoothed y ->" "x ->"
- @if errorlevel 1 goto fin
- : fin